<template>
    <div class="customer-page">
        <div class="show-img animate__animated animate__rotateInUpRight" v-show="!show" @click="showAction">
            <Row type="flex" justify="center" align="middle" class="customer-row">
                <Col span="24" style="margin-top: 5px">
                    <span style="font-size: 16px;font-weight: bold;">技术客服微信</span>
                </Col>
                <Col span="24">
                    <img class="customer-img" src="https://oss.shengshitong.com/yqdata/house/Wl/kefu.jpg" />
                </Col>
                <Col span="24" style="font-weight: bold">
                   在线时间:9:00～17:00
                </Col>
            </Row>
        </div>
        <div class="show-btn ivu-back-top ivu-back-top-show animate__animated animate__rotateInDownRight" v-show="show" @click="showAction">
            <div class="ivu-back-top-inner">
                <Icon type="ios-headset"/>
            </div>
        </div>
    </div>
</template>

<script>
export default {
  name: 'WlCustomer',
  data () {
    return {
      show: true
    }
  },
  methods: {
    showAction () {
      this.show = !this.show
    }
  }
}
</script>

<style scoped lang="less">
    .customer-page {
        bottom: 55px;
        right: 60px;
        position: fixed;
        z-index: 10;

        .show-img {
            position: fixed;
            width: 200px;
            height: 270px;
            bottom: 10px;
            right: 20px;
            display: block;
            background-color: #ffff;
            border: 1px solid #b0bbd3;
            .customer-row{
                text-align: center;
                width: 100%;
                img{
                    padding: 20px;
                    width: 100%;
                }
            }
        }
    }
</style>
